package loki

Import Path
	github.com/K-Phoen/grabana/alert/queries/loki (on go.dev)

Dependency Relation
	imports 2 packages, and imported by one package

Involved Source Files loki.go
Package-Level Type Names (total 2)
/* sort by: | */
Loki represents a loki query. Builder sdk.AlertQuery func New(ref string, query string, options ...Option) *Loki
Option represents an option that can be used to configure a loki query. func Legend(legend string) Option func TimeRange(from time.Duration, to time.Duration) Option func New(ref string, query string, options ...Option) *Loki func github.com/K-Phoen/grabana/alert.WithLokiQuery(ref string, query string, options ...Option) alert.Option
Package-Level Functions (total 3)
Legend sets the legend format.
New creates a new loki query.
TimeRange sets the legend format.